Setting Up a Samba Server Getting Started Guide 179 smbadduser Linux-username:Samba-username NOTE: The two usernames will be the same if you have cop- ied your Linux passwd file to the smbpasswd file as described above. By default, the following services are set up: Global printing services Users have read-write access to the Public directory in their own home directories. Shared directory for all users (if you create the /home/public directory). For additional details on setting up Samba, see the smb.conf manual pages. To start Samba, enter this command (while logged in as root) /etc/rc.d/init.d/samba start To access the OpenLinux system from a Windows PC: 1. Verify on the Windows PC that Windows Networking and TCP/IP are installed and running. 2. Log in to the Windows PC using the same username that was granted access using a Samba username above. 3. Open the Network Neighborhood on the Windows Desktop. The Linux system should appear in the list. 4. Double-click on the Linux system. 5. Enter your Linux user password when prompted. 6. Browse within the Linux filesystem as needed. 7. To map a drive to a particular Linux directory, right click on that item and choose from the pop-up menu. NOTE: If you’re mapping from a Windows 95/98 system, your Windows username must be the same as the username on the OpenLinux machine whose files you’re trying to view. To access a Windows PC from OpenLinux: 1. Check which resources are available for sharing by entering this com- mand at an OpenLinux command line: $ smbclient //windowshost/resourcename For example: